home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
eu1_00.zip
/
RL.MAN
< prev
next >
Wrap
Text File
|
1992-08-07
|
1KB
|
42 lines
Eldar Utilities Ver.1.00
REPLACE LETTER
(C) Eldar Software, 1991
Replace Letter changes a letter or several letters in
the text file to another letter or letters. RL read this file
from the standard input and output it to standard output. Use
redirection symbols to process files. The only parameter is
the string which contains cuples of symbols: old-symbol -
new-symbol etc. For example if you want to change all '1' to
'2' and all '/' to '\' then the parameter will be:
RL 12/\
Suppose you want to change all 'a' to 'A', 'b' to 'B',
'(' to '[' and ')' to ']' in file text.1 and save the result in
file text.2. Then the command line should be the next:
RL aAbB([)] <text.1 >text.2
The control codes are presented in a standard way as
'^' with a capital letter, e.g. ^A means code 1, ^J means Line Feed
(code 10) etc. To represent ^, blank and redirection symbols use
the table:
Symbol Represented by
^ ^^
< ^[
| ^\
> ^]
blank ^_
The RL is useful if you need some decoding with unstable
decoding table. For example, if your printer have lost some letter
and you want to change it to similar letter for draft printing. Or
if you have some separators in file and want to change them.